package com.example.demo.enumeration;

/**
 * @description 预约时间段
 * @author Jin Tong
 * @date 2018-10-30 15:18
 */
public enum GoodsReserveShowTypeEnum{
    HALF_AN_HOUR((byte)1,"半整点"),
    AN_HOUR((byte)2,"整点"),
    HALF_AN_HOUR_INTERVAL((byte)3,"半小时段"),
    AN_HOUR_INTERVAL((byte)4,"1小时段");

    private Byte code;
    private String describe;


    GoodsReserveShowTypeEnum(Byte code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
